package com.wy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 药品表
 * </p>
 *
 * @author 王昭贵
 * @since 2023-04-23
 */
@Data
@ApiModel(value = "Drug对象", description = "药品表")
public class Drug implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("药品ID")
    @TableId(value = "drug_id", type = IdType.AUTO)
    private Integer drugId;

    @ApiModelProperty("药品名称")
    private String drugName;

    @ApiModelProperty("药物描述")
    private String description;

    @ApiModelProperty("生产商")
    private String manufacturer;

    @ApiModelProperty("价格")
    private double price;

    @ApiModelProperty("库存量")
    private Integer stock;

    @ApiModelProperty("药物类型")
    private String drugType;

    @ApiModelProperty("图片路径")
    private String img;

    @ApiModelProperty("删除状态")
    private Integer deleteStatus;
}
